- Get$#
- ------------------
- Basic
keyword
-
-
- Use: Reads a string
from an open file.
-
- Example:
- a$=Get$#f%
-
- Note: Get$#
reads strings of characters terminated by 0 or a
- new line. This is the normal format of a text
file, so if you want
- to read a text file, use Get$#.
This is also the format used by
- BPut#f%,<string>,
so if you have created a file that way, use
- Get$# to read it.
-
- The format of strings saved to a file by Print#
is quite different
- and these strings must be read with Input#